<nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
<desc-list [col]="2" style="margin-bottom: 16px;" *ngIf="!isLoading && entity.type == 1">
  <desc-list-item term="转让人姓名">{{ entityInfo.customerName }}</desc-list-item>
  <desc-list-item term="转让人手机号">{{entityInfo.phone}}</desc-list-item>
  <desc-list-item term="获利人姓名">{{entity.cusName}}</desc-list-item>
  <desc-list-item term="获利人手机号">{{entity.cusPhone}}</desc-list-item>
  <desc-list-item term="积分">{{entityInfo.marketCusIntegralRecord.amount}}</desc-list-item>
  <desc-list-item term="转让时间">{{entity.saveDate}}</desc-list-item>
</desc-list>
<desc-list [col]="2" style="margin-bottom: 16px;" *ngIf="!isLoading && entity.type == 2">
  <desc-list-item term="转让人姓名">{{entity.cusName}}</desc-list-item>
  <desc-list-item term="转让人手机号">{{entity.cusPhone}}</desc-list-item>
  <desc-list-item term="获利人姓名">{{ entityInfo.customerName }}</desc-list-item>
  <desc-list-item term="获利人手机号">{{entityInfo.phone}}</desc-list-item>
  <desc-list-item term="积分">{{entityInfo.marketCusIntegralRecord.amount}}</desc-list-item>
  <desc-list-item term="转让时间">{{entity.saveDate}}</desc-list-item>
</desc-list>
<desc-list [col]="2" style="margin-bottom: 16px;" *ngIf="!isLoading && entity.type != 2 && entity.type != 1">
  <desc-list-item term="获利人姓名">{{entity.cusName}}</desc-list-item>
  <desc-list-item term="获利人手机号">{{entity.cusPhone}}</desc-list-item>
  <desc-list-item term="下单人姓名">{{entityInfo.customerName}}</desc-list-item>
  <desc-list-item term="下单人手机号">{{entityInfo.phone}}</desc-list-item>
  <desc-list-item term="订单产品">{{entityInfo.productName}}</desc-list-item>
  <desc-list-item term="数量">{{entityInfo.productQuantity}}</desc-list-item>
  <desc-list-item term="订单总价">{{entityInfo.paymentAmount}}</desc-list-item>
  <desc-list-item term="获利比率">{{entityInfo.marketCusIntegralRecord.ratio}}</desc-list-item>
  <desc-list-item term="获得积分">{{entityInfo.marketCusIntegralRecord.amount}}</desc-list-item>
  <desc-list-item term="获利时间">{{entity.saveDate}}</desc-list-item>
  <desc-list-item term="获利类型">{{entityInfo.marketCusIntegralRecord.type|dicsNamePipe:recordTypeOption}}</desc-list-item>
</desc-list>
<div class="modal-footer">
  <button nz-button type="button" (click)="close()">关闭</button>
</div>
